<div id="app">
  {{ message }}
  <!-- <input type="text" v-model="message"> -->
  <button @click="handle">翻转</button>
</div>

<script type="module">
import {ToyVue as Vue} from './toy-vue.js';

var app = new Vue({
  el: '#app',
  data: {
    message: 'Hello Vue!'
  },
  methods: {
    handle:function() {
      this.message = this.message.split('').reverse().join('');
    }
  }
})
</script>
